/*
 * @Author: zxh
 * @Email: 1271027008@qq.com
 * @Date: 2020-03-18 11:21:33
 * @Descripttion: 
 */

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { MyNewsComponent } from './my-news/my-news.component';
import { MyTodoListComponent } from './my-todo-list/my-todo-list.component';


const routes: Routes = [
  {
    path: "myNews",
    data: {
      title: "我的消息",
      uid: 51,
      isLastLevel: true,
      useCache: false,
    },
    component: MyNewsComponent
  },
  {
    path: "myTodoList",
    data: {
      title: "我的待办",
      uid: 52,
      isLastLevel: true,
      useCache: false,
    },
    component: MyTodoListComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class NewsManageRoutingModule { }
